<?php
namespace Swiftx\Component\Httpd;
use Swiftx\Component\Router\Response as ResponseRouter;
use Swiftx\Interfaces\Httpd\Response as ResponseInterfaces;
use Swiftx\Interfaces\Httpd\View;

/**
 * 用户Http响应类
 * @package Swiftx\Component\Httpd
 */
class Response extends ResponseRouter implements ResponseInterfaces {

    /**
     * 渲染视图
     * @param View $value
     */
    public function render(View $value){
        $this->echo($value->fetch());
    }

}
